package de.tudresden.inf.ggp.basicplayer;

public class CMyPlayerUtils {
	public static int[] GoalAverage(int[] GoalValue){
		int[] goalAverage=new int[GoalValue.length];
		int totalGoal=0;
		for(int i=0;i<GoalValue.length;i++){
			totalGoal+=GoalValue[i];
		}
		for(int i=0;i<goalAverage.length;i++){
			goalAverage[i]=GoalValue[i]-(totalGoal-GoalValue[i])/(GoalValue.length-1);
		}
		return goalAverage;
	}
}
